<!--
 * @Author: 张辰龙 zhangchenlong@julimeng.com
 * @Date: 2025-06-26 08:59:04
 * @LastEditors: 张辰龙 zhangchenlong@julimeng.com
 * @LastEditTime: 2025-06-26 09:37:47
 * @FilePath: /zrreportWxMp/pages/privacy/index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<view>
		<!-- <web-view src="https://test-manage.julimeng.com/taxReport/?shareCode=8ZlY4Ho6JVWo6Z&tk=Bearer%20eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiI5MjVFQkMwNEUwMDkiLCJjcmVhdGVkIjoxNzUwODE5NjczNzgxLCJleHAiOjE3NTYwMDM2NzMsImlhdCI6MTc1MDgxOTY3M30.I67KG4hCGa5T5VeoBDsSm5_8Ln3O7jCQSN-ugKsI3Rcz2jipuwbJ81V6sK8IShUO4a5Y6JzeTbRnbGG2LRdVeQ" /> -->
		<privacy-policy v-if="privacyType == 1"></privacy-policy>
		<user-service-agreement v-if="privacyType == 0"></user-service-agreement>
		<activityRole v-if="privacyType == 2"></activityRole>
		<livenessViewRole v-if="privacyType == 3"></livenessViewRole>

	</view>
</template>

<script>
import privacyPolicy from "@/pages/privacy/components/privacyPolicy.vue";
import userServiceAgreement from "@/pages/privacy/components/userServiceAgreement.vue";
import activityRole from "./components/activityRole.vue";
import livenessViewRole from "./components/livenessViewRole.vue";
export default {
	components: { privacyPolicy, userServiceAgreement, activityRole, livenessViewRole },
	data() {
		return {
			privacyType: null,
		}
	},
	onLoad(options) {
		if (options.privacyType) {
			this.privacyType = options.privacyType
			const titleMap = {
				0: '用户服务协议',
				1: '隐私政策',
				2: '活动规则协议',
				3: '实名认证协议'
			}
			uni.setNavigationBarTitle({
				title: titleMap[options.privacyType]
			})
		}
	},
	methods: {

	}
}
</script>

<style lang="scss">
page {
	background-color: #fff;
}
</style>
